<?php

namespace App\Http\Controllers\Admin;

use App\Http\Query\CategoryQuery;
use app\Model\Base;
use app\Model\OrderModel;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\DB;
use Log;
use function MongoDB\BSON\toJSON;
use SplFileObject;

class JapanEvalChangeController extends Controller

{
    function eval_change(Request $request)
    {
        $getParam = $request->all();
        $mo = new \App\Model\OrderModel();

        return view('warehouse.eval_change', array(
            'category' => $mo::category(),
            'param' => $getParam,
            'order_id' => 'PD.' . rand(111111111, 999999999)
        )); // 返回视图
    }
}
